/* pages/my/my.wxss */
.container {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,
      rgb(255, 243, 233) 0%,
      rgb(254, 215, 215) 100%);
  border-radius: 16rpx;
  padding: 2vw;
  width: 92vw;
  height: 100vh;
  margin-left: 2vw;
}

/* 修改昵称 */
.updateName {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 320rpx;

  text {
    margin: 25rpx 0 20rpx 0;
    font-size: 40rpx;
  }

  .btn {
    display: flex;
    width: 450rpx;
    position: absolute;
    bottom: 0rpx;

    .cancel {
      margin: 18rpx;
      border: black solid 0.5rpx;
      color: #919191;
      border-radius: 20rpx;
    }

    .save {
      margin: 18rpx;
      background-color: #F77078;
      color: white;
      border-radius: 20rpx;
    }
  }

}

/* 设置模糊 */
.image-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -50rpx;
  height: 25%;
  width: 100vw;
  background: rgba(255, 235, 228, 0.95);
  filter: blur(30rpx);
  z-index: 15;
}

.image-container {
  width: 100vw;
  height: 540rpx;
  background: linear-gradient(180deg,
      rgba(113, 186, 254, 0.4) 0%,
      rgba(255, 235, 228, 1) 80%);
  position: absolute;
  z-index: 10;
  box-shadow: 0rpx 60rpx 30rpx rgba(255, 235, 228, 1);


  .my_picture {
    width: 100vw;
    height: 525rpx;
    position: absolute;
    z-index: 10;
    opacity: 0.2;
    filter: blur(1.5rpx);
    box-shadow: 0rpx 6rpx 40rpx rgba(255, 235, 228, 1);
  }
}

/* 星星动效 */
.stars {
  position: relative;
  z-index: 20;

  image {
    width: 150rpx;
    height: 130rpx;
  }

  .star1 {
    position: absolute;
    top: 120rpx;
    left: 120rpx;
    animation: loader 1.5s infinite alternate;
  }

  .star2 {
    position: absolute;
    top: 320rpx;
    left: 50rpx;
    animation: loader 1.3s infinite alternate;
    animation-delay: 0.5s;
  }

  .star3 {
    position: absolute;
    top: 180rpx;
    right: 100rpx;
    animation: loader 1s infinite alternate;
  }

  @keyframes loader {
    0% {
      width: 180rpx;
      height: 160rpx;
      transform: rotate(-20deg);
    }

    50% {
      width: 150rpx;
      height: 130rpx;
      transform: rotate(0deg);
    }

    100% {
      width: 180rpx;
      height: 160rpx;
      transform: rotate(10deg);
    }
  }
}

.main_container {
  display: flex;
  justify-content: center;
  padding-top: 220rpx;
  z-index: 20;
  flex-direction: column;
  align-items: center;


  /* 用户信息 */
  .userInfo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    .avatar_back {
      width: 220rpx;
      height: 295rpx;
      z-index: 20;
    }

    .avatar-btn,
    .avatar {
      margin: 0;
      padding: 0;
      width: 220rpx;
      height: 220rpx;
      border-radius: 100%;
      position: absolute;
      border: #4588F7 solid 4rpx;
      z-index: 25;
    }

    .avatar-btn {
      filter: opacity(0);
    }

    .title_box {
      height: auto;
      width: auto;
      background-color: #FEFEFE;
      padding: 35rpx 30rpx 20rpx 30rpx;
      border-radius: 20rpx;
      margin-top: -32rpx;
      box-shadow: 7rpx 7rpx 0rpx 0rpx #FDC6C3;
      margin-bottom: 20rpx;
      min-width: 100rpx;
      display: flex;
      justify-content: center;
      /* 超过范围设置省略号 */

      white-space: nowrap;



    }
  }

  image {
    width: 300rpx;
    height: 400rpx;
  }




  .bottom_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    height: 500rpx;



    .every-container1,
    .every-container2 {
      height: 120rpx;
      width: 80vw;
      background-color: #FEFEFE;
      border-radius: 18rpx;
      margin: 25rpx 0;
      padding: 0 25rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;


      image {
        width: 55rpx;
        height: 55rpx;
      }

      text {
        margin-left: 80rpx;
        font-size: 40rpx;
        color: #636363;
      }

      /* 设置单个星星动画效果 */
      .sign_star,
      .inform_star {
        position: absolute;
        animation: star1 1s infinite alternate;
      }

      .contact_satr {
        position: absolute;
        animation: star2 1s infinite alternate;
      }

      @keyframes star1 {
        0% {
          width: 55rpx;
          height: 55rpx;
          transform: rotate(-15deg);
        }

        100% {
          width: 70rpx;
          height: 70rpx;
          transform: rotate(0deg);
        }
      }

      @keyframes star2 {
        0% {
          width: 55rpx;
          height: 55rpx;
          transform: rotate(18deg);
        }

        100% {
          width: 70rpx;
          height: 70rpx;
          transform: rotate(0deg);
        }
      }
    }


    /* 设置背景偏移 */
    .every-container {
      margin-bottom: 180rpx;
      height: 120rpx;
      width: 89vw;
      position: relative;
    }

    .every-container1 {
      position: absolute;
      top: 0;
      left: 0rpx;
      box-shadow: 2rpx 8rpx 16rpx rgba(253, 162, 167, 0.26);
    }

    .contact_btn {
      position: absolute;
      top: 0;
      left: 0rpx;
      height: 130rpx;
      width: 88vw;

      border-radius: 18rpx;
      margin: 25rpx 0;
      opacity: 0;
    }

    .every-container2 {
      position: absolute;
      top: 20rpx;
      left: 20rpx;
      box-shadow: 2rpx 8rpx 16rpx rgba(253, 162, 167, 0.26);
    }
  }

  .bottom_logo {
    width: 720rpx;
    height: 340rpx;
  }

  .red {
    margin-left: 125px;
    background-color: #ff5757;
    border-radius: 100%;
    height: 28rpx;
    width: 28rpx;
  }
}